package com.woniu.bank.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ：zhulongxing
 * @date ：Created in 2023/1/7 11:02
 * @description：
 * @modified By：
 * @version: $
 */
@Data
@ApiModel(description = "额度调整业务信息界面")
public class ClientAndRatedDTO {

    @ApiModelProperty(value = "评级授信ID[隐藏字段，不展示]")
    private Integer ratedId;

    @ApiModelProperty(value = "业务流水号(授信台账编号)")
    private String ratedOn;

    @ApiModelProperty(value = "机评信用得分")
    private String ratedRobotScore;

    @ApiModelProperty(value = "信用等级")
    private String ratedCredit;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "评定日期（授信批复日期）")
    private Date ratedRequestTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "到期时间[隐藏字段，不展示]")
    private Date ratedExpireTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "调查日期")
    private Date ratedLoginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "起始日期[隐藏字段，不展示]")
    private Date ratedStartTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "截止日期[隐藏字段，不展示]")
    private Date ratedEndTime;

    @ApiModelProperty(value = "授信期限")
    private String ratedTerm;

    @ApiModelProperty(value = "机评授信额度")
    private Double ratedRobotLimit;

    @ApiModelProperty(value = "调查人意见")
    private String ratedReason;

    @ApiModelProperty(value = "允许线上信用（授信）额度")
    private Double ratedCreditLimit;

    @ApiModelProperty(value = "农户上年度家庭收入")
    private Integer farmerYearRevenue;

    @ApiModelProperty(value = "农户上年度家庭支出")
    private Integer farmerYearExpenditures;

    @ApiModelProperty(value = "家庭总收入(存款)")
    private Double clientMainIncome;

    @ApiModelProperty(value = "主营产业个数")
    private Integer clientIndustry;

    @ApiModelProperty(value = "年总收入")
    private Double clientIncome;

    @ApiModelProperty(value = "管户客户经理")
    private String clientVillCadYn;

    @ApiModelProperty(value = "管户网点")
    private String clientVillCadName;

    @ApiModelProperty(value = "客户号")
    private String clientNumber;

    @ApiModelProperty(value = "证件号码")
    private String clinetDocumentsNumber;

    @ApiModelProperty(value = "客户名称")
    private String clientName;

    @ApiModelProperty(value = "证件类型")
    private String clinetDocumentsType;

    @ApiModelProperty(value = "客户id[隐藏字段，不展示]")
    private Integer clientId;


    @ApiModelProperty(value = "授信协议号//////")
    private String ratedNum;

    @ApiModelProperty(value = "进件渠道//////")
    private String ratedAddress;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "评定（授信）生效日期//////")
    private Date ratedEffectiveTime;
    @ApiModelProperty(value = "评定方式//////")
    private String ratedManner;
    @ApiModelProperty(value = "审批id//////")
    private String approvalStatusId;
    @ApiModelProperty(value = "备用1//////")
    private String bak1;
    @ApiModelProperty(value = "备用2//////")
    private String bak2;
    @ApiModelProperty(value = "备用3//////")
    private String bak3;
    @ApiModelProperty(value = "备用4//////")
    private String bak4;
    @ApiModelProperty(value = "备用5(调整前授信金额)//////")
    private String bak5;

}
